package org.dairy.farms.model;

import javax.persistence.CascadeType;
import javax.persistence.Entity;
import javax.persistence.OneToOne;

/**
 * Created by IntelliJ IDEA.
 * User: gduggira
 * Date: Jun 10, 2011
 * Time: 4:56:36 PM
 */
@Entity
public class CheckUpExpense extends Expense{
    @OneToOne(mappedBy = "checkUpExpense", cascade = CascadeType.ALL)
    private Checkup checkup;
}
